<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%
    request.setAttribute("contextPath", request.getContextPath());
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
</head>
<body>
	<table width="100%" border="1" bordercolor="blue">
		<tr>
			<td colspan="2" align="center">图书</td>
		</tr>
		<c:forEach items="${books}" var="b">
			<tr>
				<td width="50%">${b.bookName} </td>
				<td>
					 <a href="${contextPath }/book/getBookDetail/${b.bookId}">详情</a>
				</td>
			</tr>
		</c:forEach>
	</table>
	<%-- <bottom><center><%@include file="/WEB-INF/jsp/pager/pager.jsp" %> </center></bottom> --%>
</body>
</html>